package com.mofum.msdom.excel.template.event;

/**
 * @author yuyang@qxy37.com
 * @since 2019/2/1 0001 17:13
 */
public interface TemplateCallback {

    TemplateCallback DEFAULT = new TemplateCallback() {
        @Override
        public String call(String propName, int rowIndex, int colIndex) {
            return propName;
        }
    };

    /**
     * 回调
     *
     * @param propName 属性名
     * @param rowIndex 行
     * @param colIndex 列
     * @return
     */
    String call(String propName, int rowIndex, int colIndex);

}
